import type { PlasmoMessaging } from "@plasmohq/messaging"

const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
  await new Promise((resolve) => setTimeout(resolve, 1000))
  res.send({ message: req.body })
}

export default handler
